package main

import (
    "hash/crc32"
    "strings"
    "fmt"
)

func main()  {
    shortBucketName := strings.Split("uploads-10002127", "-")
    fmt.Println(shortBucketName)
}

func StrHash(s string) int  {
    v := int(crc32.ChecksumIEEE([]byte(s)))
    if v >= 0 {
        return v
    }
    if -v >= 0 {
        return -v
    }
    // v == MinInt
    return 0
}

